<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>opennars: aruntime/src/main/java/nars/entity/TermLink.java Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">opennars
   &#160;<span id="projectnumber">1.5.5</span>
   </div>
   <div id="projectbrief">1.5-ish</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Packages</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('db/daa/TermLink_8java_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">TermLink.java</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../db/daa/TermLink_8java.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * TermLink.java</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2008  Pei Wang</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This file is part of Open-NARS.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * Open-NARS is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * the Free Software Foundation, either version 2 of the License, or</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * (at your option) any later version.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * Open-NARS is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * GNU General Public License for more details.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * along with Open-NARS.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">package </span>nars.entity;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/d64/namespacenars_1_1io.html">io</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../d0/d72/namespacenars_1_1language.html">language</a>.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a>;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink.html">   38</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink.html">TermLink</a> <span class="keyword">extends</span> <a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item.html">Item</a> {</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_abc9e35e4d0450f422fc03e2e53394e6a.html#abc9e35e4d0450f422fc03e2e53394e6a">   40</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">short</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_abc9e35e4d0450f422fc03e2e53394e6a.html#abc9e35e4d0450f422fc03e2e53394e6a">SELF</a> = 0;</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a267c238e8b0425f2f5ca407b16092d00.html#a267c238e8b0425f2f5ca407b16092d00">   42</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">short</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a267c238e8b0425f2f5ca407b16092d00.html#a267c238e8b0425f2f5ca407b16092d00">COMPONENT</a> = 1;</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ad95ac3ddd10cac258cecddba9b8a7fa1.html#ad95ac3ddd10cac258cecddba9b8a7fa1">   44</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">short</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ad95ac3ddd10cac258cecddba9b8a7fa1.html#ad95ac3ddd10cac258cecddba9b8a7fa1">COMPOUND</a> = 2;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a460d426cd9959e390cc7f66ba7a4b024.html#a460d426cd9959e390cc7f66ba7a4b024">   46</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">short</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a460d426cd9959e390cc7f66ba7a4b024.html#a460d426cd9959e390cc7f66ba7a4b024">COMPONENT_STATEMENT</a> = 3;</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a6c0e98a7948be8d940ba6afc52d43fea.html#a6c0e98a7948be8d940ba6afc52d43fea">   48</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">short</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a6c0e98a7948be8d940ba6afc52d43fea.html#a6c0e98a7948be8d940ba6afc52d43fea">COMPOUND_STATEMENT</a> = 4;</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ae7bcc74faf32830b75e1ce3eebfd3a93.html#ae7bcc74faf32830b75e1ce3eebfd3a93">   50</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">short</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ae7bcc74faf32830b75e1ce3eebfd3a93.html#ae7bcc74faf32830b75e1ce3eebfd3a93">COMPONENT_CONDITION</a> = 5;</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ae891eef9a9d8c49a597a0f61a16b4570.html#ae891eef9a9d8c49a597a0f61a16b4570">   52</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">short</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ae891eef9a9d8c49a597a0f61a16b4570.html#ae891eef9a9d8c49a597a0f61a16b4570">COMPOUND_CONDITION</a> = 6;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a414d310cc5616e19d26525b29c0632d0.html#a414d310cc5616e19d26525b29c0632d0">   54</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">short</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a414d310cc5616e19d26525b29c0632d0.html#a414d310cc5616e19d26525b29c0632d0">TRANSFORM</a> = 8;</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a63d15c2000a8634cf4d31e2ede492251.html#a63d15c2000a8634cf4d31e2ede492251">   56</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a63d15c2000a8634cf4d31e2ede492251.html#a63d15c2000a8634cf4d31e2ede492251">target</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a83725fe12a973c0181d3143ed4622f48.html#a83725fe12a973c0181d3143ed4622f48">   58</a></span>&#160;    <span class="keyword">protected</span> <span class="keywordtype">short</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a83725fe12a973c0181d3143ed4622f48.html#a83725fe12a973c0181d3143ed4622f48">type</a>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a2356ada181399f3c6db60308dbb523f7.html#a2356ada181399f3c6db60308dbb523f7">   60</a></span>&#160;    <span class="keyword">protected</span> <span class="keywordtype">short</span>[] <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a2356ada181399f3c6db60308dbb523f7.html#a2356ada181399f3c6db60308dbb523f7">index</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a204278d1cb3b3a3e9ebaec4dabb09274.html#a204278d1cb3b3a3e9ebaec4dabb09274">   70</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a204278d1cb3b3a3e9ebaec4dabb09274.html#a204278d1cb3b3a3e9ebaec4dabb09274">TermLink</a>(<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> t, <span class="keywordtype">short</span> p, <span class="keywordtype">int</span>... indices) {</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        target = t;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        type = p;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        assert (type % 2 == 0); <span class="comment">// template types all point to compound, though the target is component</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="keywordflow">if</span> (type == <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink.html">TermLink</a>.<a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ae891eef9a9d8c49a597a0f61a16b4570.html#ae891eef9a9d8c49a597a0f61a16b4570">COMPOUND_CONDITION</a>) {  <span class="comment">// the first index is 0 by default</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;            index = <span class="keyword">new</span> <span class="keywordtype">short</span>[indices.length + 1];</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;            index[0] = 0;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; indices.length; i++) {</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;                index[i + 1] = (short) indices[i];</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;            }</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;            index = <span class="keyword">new</span> <span class="keywordtype">short</span>[indices.length];</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; index.length; i++) {</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;                index[i] = (short) indices[i];</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;            }</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        }</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    }</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ae1bd76c27f86a06a78d754d6ba7a2a86.html#ae1bd76c27f86a06a78d754d6ba7a2a86">   92</a></span>&#160;    <span class="keyword">protected</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ae1bd76c27f86a06a78d754d6ba7a2a86.html#ae1bd76c27f86a06a78d754d6ba7a2a86">TermLink</a>(String s, <a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">BudgetValue</a> v) {</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        super(s, v);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    }</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a7efe1a85c0739a0fd0dc3f03dbd679a9.html#a7efe1a85c0739a0fd0dc3f03dbd679a9">  104</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a7efe1a85c0739a0fd0dc3f03dbd679a9.html#a7efe1a85c0739a0fd0dc3f03dbd679a9">TermLink</a>(<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> t, <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink.html">TermLink</a> <span class="keyword">template</span>, <a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">BudgetValue</a> v) {</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        super(t.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_a3aad4654016b8615fd4fa8a26668e1db.html#a3aad4654016b8615fd4fa8a26668e1db">getName</a>(), v);</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        target = t;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        type = <span class="keyword">template</span>.getType();</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        <span class="keywordflow">if</span> (<span class="keyword">template</span>.<a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a133e3243292f9daacaa8443acef6b185.html#a133e3243292f9daacaa8443acef6b185">getTarget</a>().equals(t)) {</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;            type--;     <span class="comment">// point to component</span></div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        }</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        index = <span class="keyword">template</span>.getIndices();</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ad19e927a3e2e339682081d8e462fe73b.html#ad19e927a3e2e339682081d8e462fe73b">setKey</a>();</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    }</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ad19e927a3e2e339682081d8e462fe73b.html#ad19e927a3e2e339682081d8e462fe73b">  118</a></span>&#160;    <span class="keyword">protected</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ad19e927a3e2e339682081d8e462fe73b.html#ad19e927a3e2e339682081d8e462fe73b">setKey</a>() {</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        String at1, at2;</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        <span class="keywordflow">if</span> ((type % 2) == 1) {  <span class="comment">// to component</span></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;            at1 = <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a4626e70aa35458e9ecf0534121e03488.html#a4626e70aa35458e9ecf0534121e03488">TO_COMPONENT_1</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;            at2 = <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a6ceca743ff986525a2770f5627168298.html#a6ceca743ff986525a2770f5627168298">TO_COMPONENT_2</a>;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        } <span class="keywordflow">else</span> {                <span class="comment">// to compound</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;            at1 = <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a72e892adedf653841dfd05f3cb7740a7.html#a72e892adedf653841dfd05f3cb7740a7">TO_COMPOUND_1</a>;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;            at2 = <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a3aa066a31ca0440f1524b45be790127c.html#a3aa066a31ca0440f1524b45be790127c">TO_COMPOUND_2</a>;</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        }</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        String in = <span class="stringliteral">&quot;T&quot;</span> + <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a83725fe12a973c0181d3143ed4622f48.html#a83725fe12a973c0181d3143ed4622f48">type</a>;</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        <span class="keywordflow">if</span> (index != null) {</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; index.length; i++) {</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;                in += <span class="stringliteral">&quot;-&quot;</span> + (index[i] + 1);</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;            }</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        }</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        <a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item_a1487af4a10f874c370c913d9ef784600.html#a1487af4a10f874c370c913d9ef784600">key</a> = at1 + in + at2;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        <span class="keywordflow">if</span> (target != null) {</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;            <a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item_a1487af4a10f874c370c913d9ef784600.html#a1487af4a10f874c370c913d9ef784600">key</a> += <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a63d15c2000a8634cf4d31e2ede492251.html#a63d15c2000a8634cf4d31e2ede492251">target</a>;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        }</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    }</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a133e3243292f9daacaa8443acef6b185.html#a133e3243292f9daacaa8443acef6b185">  143</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a133e3243292f9daacaa8443acef6b185.html#a133e3243292f9daacaa8443acef6b185">getTarget</a>() {</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a63d15c2000a8634cf4d31e2ede492251.html#a63d15c2000a8634cf4d31e2ede492251">target</a>;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    }</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a795ea0b57cd6467bbe2a8f68a34cba02.html#a795ea0b57cd6467bbe2a8f68a34cba02">  151</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">short</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a795ea0b57cd6467bbe2a8f68a34cba02.html#a795ea0b57cd6467bbe2a8f68a34cba02">getType</a>() {</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a83725fe12a973c0181d3143ed4622f48.html#a83725fe12a973c0181d3143ed4622f48">type</a>;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    }</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a7d158ecfc339dbaef83d92f3f584d995.html#a7d158ecfc339dbaef83d92f3f584d995">  159</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">short</span>[] <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a7d158ecfc339dbaef83d92f3f584d995.html#a7d158ecfc339dbaef83d92f3f584d995">getIndices</a>() {</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a2356ada181399f3c6db60308dbb523f7.html#a2356ada181399f3c6db60308dbb523f7">index</a>;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    }</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_af093a699db24ea0f11c4dafd0004f974.html#af093a699db24ea0f11c4dafd0004f974">  168</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">short</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink_af093a699db24ea0f11c4dafd0004f974.html#af093a699db24ea0f11c4dafd0004f974">getIndex</a>(<span class="keywordtype">int</span> i) {</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        <span class="keywordflow">if</span> ((index != null) &amp;&amp; (i &lt; index.length)) {</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;            <span class="keywordflow">return</span> index[i];</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;            <span class="keywordflow">return</span> -1;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        }</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    }</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;}</div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_a133e3243292f9daacaa8443acef6b185_html_a133e3243292f9daacaa8443acef6b185"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a133e3243292f9daacaa8443acef6b185.html#a133e3243292f9daacaa8443acef6b185">nars.entity.TermLink.getTarget</a></div><div class="ttdeci">Term getTarget()</div><div class="ttdoc">Get the target of the link. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00143">TermLink.java:143</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_a3aad4654016b8615fd4fa8a26668e1db_html_a3aad4654016b8615fd4fa8a26668e1db"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term_a3aad4654016b8615fd4fa8a26668e1db.html#a3aad4654016b8615fd4fa8a26668e1db">nars.language.Term.getName</a></div><div class="ttdeci">String getName()</div><div class="ttdoc">Reporting the name of the current Term. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00068">Term.java:68</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a6ceca743ff986525a2770f5627168298_html_a6ceca743ff986525a2770f5627168298"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a6ceca743ff986525a2770f5627168298.html#a6ceca743ff986525a2770f5627168298">nars.io.Symbols.TO_COMPONENT_2</a></div><div class="ttdeci">static final String TO_COMPONENT_2</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00094">Symbols.java:94</a></div></div>
<div class="ttc" id="namespacenars_1_1io_html"><div class="ttname"><a href="../../db/d64/namespacenars_1_1io.html">nars.io</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d26/ExperienceReader_8java_source.html#l00021">ExperienceReader.java:21</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_a7d158ecfc339dbaef83d92f3f584d995_html_a7d158ecfc339dbaef83d92f3f584d995"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a7d158ecfc339dbaef83d92f3f584d995.html#a7d158ecfc339dbaef83d92f3f584d995">nars.entity.TermLink.getIndices</a></div><div class="ttdeci">short[] getIndices()</div><div class="ttdoc">Get all the indices. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00159">TermLink.java:159</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_html"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink.html">nars.entity.TermLink</a></div><div class="ttdoc">A link between a compound term and a component term. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00038">TermLink.java:38</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_a204278d1cb3b3a3e9ebaec4dabb09274_html_a204278d1cb3b3a3e9ebaec4dabb09274"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a204278d1cb3b3a3e9ebaec4dabb09274.html#a204278d1cb3b3a3e9ebaec4dabb09274">nars.entity.TermLink.TermLink</a></div><div class="ttdeci">TermLink(Term t, short p, int...indices)</div><div class="ttdoc">Constructor for TermLink template. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00070">TermLink.java:70</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Item_html"><div class="ttname"><a href="../../d1/dd1/classnars_1_1entity_1_1Item.html">nars.entity.Item</a></div><div class="ttdoc">An item is an object that can be put into a Bag, to participate in the resource competition of the sy...</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/de0/Item_8java_source.html#l00031">Item.java:31</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_a267c238e8b0425f2f5ca407b16092d00_html_a267c238e8b0425f2f5ca407b16092d00"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a267c238e8b0425f2f5ca407b16092d00.html#a267c238e8b0425f2f5ca407b16092d00">nars.entity.TermLink.COMPONENT</a></div><div class="ttdeci">static final short COMPONENT</div><div class="ttdoc">At (&&, A, C), point to C. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00042">TermLink.java:42</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_a6c0e98a7948be8d940ba6afc52d43fea_html_a6c0e98a7948be8d940ba6afc52d43fea"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a6c0e98a7948be8d940ba6afc52d43fea.html#a6c0e98a7948be8d940ba6afc52d43fea">nars.entity.TermLink.COMPOUND_STATEMENT</a></div><div class="ttdeci">static final short COMPOUND_STATEMENT</div><div class="ttdoc">At C, point to <C --> A> </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00048">TermLink.java:48</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a4626e70aa35458e9ecf0534121e03488_html_a4626e70aa35458e9ecf0534121e03488"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a4626e70aa35458e9ecf0534121e03488.html#a4626e70aa35458e9ecf0534121e03488">nars.io.Symbols.TO_COMPONENT_1</a></div><div class="ttdeci">static final String TO_COMPONENT_1</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00093">Symbols.java:93</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_ae1bd76c27f86a06a78d754d6ba7a2a86_html_ae1bd76c27f86a06a78d754d6ba7a2a86"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ae1bd76c27f86a06a78d754d6ba7a2a86.html#ae1bd76c27f86a06a78d754d6ba7a2a86">nars.entity.TermLink.TermLink</a></div><div class="ttdeci">TermLink(String s, BudgetValue v)</div><div class="ttdoc">called from TaskLink </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00092">TermLink.java:92</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a3aa066a31ca0440f1524b45be790127c_html_a3aa066a31ca0440f1524b45be790127c"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a3aa066a31ca0440f1524b45be790127c.html#a3aa066a31ca0440f1524b45be790127c">nars.io.Symbols.TO_COMPOUND_2</a></div><div class="ttdeci">static final String TO_COMPOUND_2</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00096">Symbols.java:96</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_html"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols.html">nars.io.Symbols</a></div><div class="ttdoc">The ASCII symbols used in I/O. </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00026">Symbols.java:26</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_a414d310cc5616e19d26525b29c0632d0_html_a414d310cc5616e19d26525b29c0632d0"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a414d310cc5616e19d26525b29c0632d0.html#a414d310cc5616e19d26525b29c0632d0">nars.entity.TermLink.TRANSFORM</a></div><div class="ttdeci">static final short TRANSFORM</div><div class="ttdoc">At C, point to <(*, C, B) –> A>; TaskLink only. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00054">TermLink.java:54</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_ae891eef9a9d8c49a597a0f61a16b4570_html_ae891eef9a9d8c49a597a0f61a16b4570"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ae891eef9a9d8c49a597a0f61a16b4570.html#ae891eef9a9d8c49a597a0f61a16b4570">nars.entity.TermLink.COMPOUND_CONDITION</a></div><div class="ttdeci">static final short COMPOUND_CONDITION</div><div class="ttdoc">At C, point to <(&&, C, B) ==> A> </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00052">TermLink.java:52</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_ad95ac3ddd10cac258cecddba9b8a7fa1_html_ad95ac3ddd10cac258cecddba9b8a7fa1"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ad95ac3ddd10cac258cecddba9b8a7fa1.html#ad95ac3ddd10cac258cecddba9b8a7fa1">nars.entity.TermLink.COMPOUND</a></div><div class="ttdeci">static final short COMPOUND</div><div class="ttdoc">At C, point to (&&, A, C) </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00044">TermLink.java:44</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Item_a1487af4a10f874c370c913d9ef784600_html_a1487af4a10f874c370c913d9ef784600"><div class="ttname"><a href="../../d1/dd1/classnars_1_1entity_1_1Item_a1487af4a10f874c370c913d9ef784600.html#a1487af4a10f874c370c913d9ef784600">nars.entity.Item.key</a></div><div class="ttdeci">String key</div><div class="ttdoc">The key of the Item, unique in a Bag. </div><div class="ttdef"><b>Definition:</b> <a href="../../d9/de0/Item_8java_source.html#l00034">Item.java:34</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_abc9e35e4d0450f422fc03e2e53394e6a_html_abc9e35e4d0450f422fc03e2e53394e6a"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_abc9e35e4d0450f422fc03e2e53394e6a.html#abc9e35e4d0450f422fc03e2e53394e6a">nars.entity.TermLink.SELF</a></div><div class="ttdeci">static final short SELF</div><div class="ttdoc">At C, point to C; TaskLink only. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00040">TermLink.java:40</a></div></div>
<div class="ttc" id="namespacenars_html"><div class="ttname"><a href="../../d7/d81/namespacenars.html">nars</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_a63d15c2000a8634cf4d31e2ede492251_html_a63d15c2000a8634cf4d31e2ede492251"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a63d15c2000a8634cf4d31e2ede492251.html#a63d15c2000a8634cf4d31e2ede492251">nars.entity.TermLink.target</a></div><div class="ttdeci">Term target</div><div class="ttdoc">The linked Term. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00056">TermLink.java:56</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_a7efe1a85c0739a0fd0dc3f03dbd679a9_html_a7efe1a85c0739a0fd0dc3f03dbd679a9"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a7efe1a85c0739a0fd0dc3f03dbd679a9.html#a7efe1a85c0739a0fd0dc3f03dbd679a9">nars.entity.TermLink.TermLink</a></div><div class="ttdeci">TermLink(Term t, TermLink template, BudgetValue v)</div><div class="ttdoc">Constructor to make actual TermLink from a template. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00104">TermLink.java:104</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_a2356ada181399f3c6db60308dbb523f7_html_a2356ada181399f3c6db60308dbb523f7"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a2356ada181399f3c6db60308dbb523f7.html#a2356ada181399f3c6db60308dbb523f7">nars.entity.TermLink.index</a></div><div class="ttdeci">short[] index</div><div class="ttdoc">The index of the component in the component list of the compound, may have up to 4 levels...</div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00060">TermLink.java:60</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_a460d426cd9959e390cc7f66ba7a4b024_html_a460d426cd9959e390cc7f66ba7a4b024"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a460d426cd9959e390cc7f66ba7a4b024.html#a460d426cd9959e390cc7f66ba7a4b024">nars.entity.TermLink.COMPONENT_STATEMENT</a></div><div class="ttdeci">static final short COMPONENT_STATEMENT</div><div class="ttdoc">At <C --> A>, point to C. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00046">TermLink.java:46</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_html"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term.html">nars.language.Term</a></div><div class="ttdoc">Term is the basic component of Narsese, and the object of processing in NARS. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00040">Term.java:40</a></div></div>
<div class="ttc" id="namespacenars_1_1language_html"><div class="ttname"><a href="../../d0/d72/namespacenars_1_1language.html">nars.language</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00021">CompoundTerm.java:21</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_a795ea0b57cd6467bbe2a8f68a34cba02_html_a795ea0b57cd6467bbe2a8f68a34cba02"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a795ea0b57cd6467bbe2a8f68a34cba02.html#a795ea0b57cd6467bbe2a8f68a34cba02">nars.entity.TermLink.getType</a></div><div class="ttdeci">short getType()</div><div class="ttdoc">Get the link type. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00151">TermLink.java:151</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_ae7bcc74faf32830b75e1ce3eebfd3a93_html_ae7bcc74faf32830b75e1ce3eebfd3a93"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ae7bcc74faf32830b75e1ce3eebfd3a93.html#ae7bcc74faf32830b75e1ce3eebfd3a93">nars.entity.TermLink.COMPONENT_CONDITION</a></div><div class="ttdeci">static final short COMPONENT_CONDITION</div><div class="ttdoc">At <(&&, C, B) ==> A>, point to C. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00050">TermLink.java:50</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_af093a699db24ea0f11c4dafd0004f974_html_af093a699db24ea0f11c4dafd0004f974"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_af093a699db24ea0f11c4dafd0004f974.html#af093a699db24ea0f11c4dafd0004f974">nars.entity.TermLink.getIndex</a></div><div class="ttdeci">short getIndex(int i)</div><div class="ttdoc">Get one index by level. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00168">TermLink.java:168</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_a83725fe12a973c0181d3143ed4622f48_html_a83725fe12a973c0181d3143ed4622f48"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_a83725fe12a973c0181d3143ed4622f48.html#a83725fe12a973c0181d3143ed4622f48">nars.entity.TermLink.type</a></div><div class="ttdeci">short type</div><div class="ttdoc">The type of link, one of the above. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00058">TermLink.java:58</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a72e892adedf653841dfd05f3cb7740a7_html_a72e892adedf653841dfd05f3cb7740a7"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a72e892adedf653841dfd05f3cb7740a7.html#a72e892adedf653841dfd05f3cb7740a7">nars.io.Symbols.TO_COMPOUND_1</a></div><div class="ttdeci">static final String TO_COMPOUND_1</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00095">Symbols.java:95</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1BudgetValue_html"><div class="ttname"><a href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">nars.entity.BudgetValue</a></div><div class="ttdoc">A triple of priority (current), durability (decay), and quality (long-term average). </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d59/BudgetValue_8java_source.html#l00031">BudgetValue.java:31</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_ad19e927a3e2e339682081d8e462fe73b_html_ad19e927a3e2e339682081d8e462fe73b"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink_ad19e927a3e2e339682081d8e462fe73b.html#ad19e927a3e2e339682081d8e462fe73b">nars.entity.TermLink.setKey</a></div><div class="ttdeci">void setKey()</div><div class="ttdoc">Set the key of the link. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00118">TermLink.java:118</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_ed82ebcd34e530b246c6fd9032262140.html">aruntime</a></li><li class="navelem"><a class="el" href="../../dir_19496ddff8e6c0f2b6654287ecb1a472.html">src</a></li><li class="navelem"><a class="el" href="../../dir_db9c5934f797909f7296c2c2017f7fc9.html">main</a></li><li class="navelem"><a class="el" href="../../dir_6d74390eb6d6287951075e525bcb9bed.html">java</a></li><li class="navelem"><a class="el" href="../../dir_51a24984472456d47100350cd31f9a7c.html">nars</a></li><li class="navelem"><a class="el" href="../../dir_c3c9ea9f52870ae82b0fae20af0d9479.html">entity</a></li><li class="navelem"><a class="el" href="../../db/daa/TermLink_8java.html">TermLink.java</a></li>
    <li class="footer">Generated on Sun Jan 10 2016 18:03:58 for opennars by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
